<?php
/**
 * Created by PhpStorm.
 * User: chenhong
 * Date: 17/2/21
 * Time: 下午5:05
 */

namespace App\Http\Controllers;


class ErrorCode
{
    const SYSTEM_ERROR = '-1_系统错误';
    const UPLOAD_TYPE_ERROR = '1000_文件上传类型不允许';
    const ADD_ERROR = '1001_增加失败';
    const EDIT_ERROR = '1002_编辑失败';
    const DEL_ERROR = '1003_删除失败';
    const FILE_NOT_EXIST = '1004_该游戏还没有原始包,请先上传原始APK游戏包';
    const CHANNEL_ID_EMPTY = '1005_请选择游戏渠道';
    const GAMEID_EMPTY = '1006_缺少游戏参数 game_id';
    const CHANNEL_PACKAGE_EXIST = '1007_该渠道已经打包过,是否更新包?';
    const FILE_EXIST = '1008_游戏原始包文件不存在';
    const UPLOAD_ERROR = '1009_文件上传失败';
    const TOKEN_EMPTY = '1010_缺少 token 值';
    const TOKEN_ERROR = '1010_ token 错误';
    const TOKEN_VERIFY = '1011_Token 验证失败';
    const ORDER_NUM_EMPTY = '1012_缺少订单号';
    const ORDER_NOT_EXIST = '1013_不存在的订单';
    const ORDER_MOUNT_EMPTY = '1014_缺少订单金额';
    const ORDER_MOUNT_NOT_MATCH = '1015_订单金额不正确';
    const ORDER_STATUS_IS_PAY = '1016_订单已经支付过,请忽重复支付';
    const ORDER_EXPIRE = '1017_订单已经过期';
    const ORDER_CANCEL = '1018_订单已取消';
    const GAME_CONFIG_ERROR = '1019_该游戏未进行配置';
    const PARAMS_ERROR = '1020_%s';
    const GAME_UPLOAD_EXIST = '1021_只能上传后缀为APK的游戏包';
    const FATHER_CHANNEL_ERROR = '1022_请选择一级渠道';
    const COOPERATE_NAME_EMPTY = '1023_请填写合作方式';
    const CHANNEL_EXIST = '1024_该一级渠道已存在';
    const CHANNEL_TOW_EXIST = '1025_该二级渠道已存在';
    const COOPERATE_NAME_EXIST = '1027_合作方式已经存在';
    const CHANNEL_NAME_EMPTY = '1028_请填写渠道名';
    const FATHER_CHANNEL_EMPTY = '1029_请选择父渠道';
    const GAME_EXIST = '1030_游戏已存在';
    const DELETE_ERROR_FOR_CHANNEL = '1031_%s渠道下有对应的游戏包,不能进行删除操作';
    const GAME_CONF_EXIST = '1032_该游戏未进行配置无法删除';
    const GAME_LIST_EXIST = '1033_该游戏已存在,请进行编辑操作';

    const USER_VERIFY_ERROR = '1034_不合法用户';

}